WPTravelEngine\Core\Booking\BookingProcess A

Total Complexity 75
Dependencies 16
Dependents 3
Total lines 846
Lines of code 485
Logical lines of code 203
Comment lines 236
Methods 26
Properties 9

Methods 26

Method Rating Maintainability Complexity Lines of code
__construct()
A
37 11 74
process_booking()
A
37 9 69
initialize_legacy_booking_hooks()
A
37 6 89
create_payment()
S
42 5 54
process_gateway_callback()
S
54 5 19
set_order_items()
S
50 4 29
maybe_redirect()
S
58 4 15
update_coupon_usage()
S
63 4 11
process_customer()
S
53 3 25
is_gateway_callback()
S
76 3 3
is_booking_request()
S
64 3 9
payment_gateway_process()
S
59 2 14
create_booking()
S
54 1 23
set_billing_info()
S
65 2 9
send_notification_emails()
S
70 2 6
get_payment_type()
S
82 1 3
validate_form_data()
S
75 1 4
get_payment_method()
S
82 1 3
is_due_payment_request()
S
78 1 3
update_session()
S
78 1 3
update_booking_state()
S
71 1 5
get_booking_ref()
S
78 1 3
get_payment_ref()
S
78 1 3
set_booking_ref()
S
80 1 3
set_payment_ref()
S
80 1 3
is_traveler_information_save_request()
S
78 1 3